package com.tengju.user.domain.model.doc;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.elasticsearch.annotations.Field;
import org.springframework.data.elasticsearch.annotations.FieldType;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class DominationNoteDocument {

    @Field(type = FieldType.Long)
    private Long leaderId;

    @Field(type = FieldType.Text, analyzer = "ik_max_word")
    private String remark;
}
